<?php
/*header('Access-Control-Allow-Origin:*');
//header('Access-Control-Allow-Credentials:true');
header('Access-Control-Allow-Methods:GET, POST, PATCH, PUT, DELETE, OPTIONS');
header('Access-Control-Allow-Headers:Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, X-CSRF-TOKEN, X-Requested-With');*/

header('Access-Control-Allow-Origin:*');
header( 'Access-Control-Max-Age:1800');
header('Access-Control-Allow-Headers:Accept,Referer,Host,Keep-Alive,User-Agent,X-Requested-With,Cache-Control,Content-Type,Cookie,token');
header('Access-Control-Allow-Credentials:true');
header('Access-Control-Allow-Methods:GET,POST,OPTIONS');


// [ 应用入口文件 ]

// 定义运行目录
define('WEB_PATH', __DIR__ . '/');


// 定义应用目录
define('APP_PATH', WEB_PATH . '../source/application/');
//\think\Build::module('backend');exit();
// 加载框架引导文件
require APP_PATH . '../thinkphp/start.php';

